package common.util.generate.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.NestedConfigurationProperty;

/**
 * @author liubo
 * @created 2020-06-15 16:15
 */
@Data
@ConfigurationProperties(prefix = "spring.generate")
public class GenerateProperties {

    /**
     * 作者
     */
    private String author;

    /**
     * 生成文件的信息
     */
    @NestedConfigurationProperty
    private InfoProperties info;

    /**
     * 模版文件指定
     */
    @NestedConfigurationProperty
    private FtlFileProperties ftl;

}
